package com.motorhome.h5.dao;

import com.motorhome.h5.domain.User;

/**
 * @author: John
 */
public interface LoginDao {

    int insertUser(String phone, String openId);

    int updateUser(Long userId, String md5Pass, String realName);

    int insertOpenUser(String phone, String trueName, String cardId, String openId);

    User getUserByOpenId(String openId);

    int updateUserOpenId(Long userId, String openId);
}
